package com.bci.pwtz.mysql.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bci.pwtz.mysql.model.DictionaryType;

public interface DictionaryTypeMapper {
    int deleteByPrimaryKey(Long dictionaryTypeId);

    int insert(DictionaryType record);

    int insertSelective(DictionaryType record);

    DictionaryType selectByPrimaryKey(Long dictionaryTypeId);

    int updateByPrimaryKeySelective(DictionaryType record);

    int updateByPrimaryKey(DictionaryType record);
    
    int deleteById(String dictionaryTypeId);
    
    List<DictionaryType> selectDictionaryType();
    
    List<DictionaryType> selectByRoot();
    
    List<DictionaryType> selectByParent(@Param("pid") Long pid);
}